package com.EstateManager.Entity;

import java.util.Date;

/**
 * AbstractLeaseorsalerecords entity provides the base persistence definition of
 * the Leaseorsalerecords entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractLeaseorsalerecords implements
		java.io.Serializable {

	// Fields

	private Integer id;
	private Estatebasicinfo estatebasicinfo;
	private User userByBuyerId;
	private User userByOwnerId;
	private String type;
	private Date endTime;
	private Date startTime;
	private String statue;

	// Constructors

	/** default constructor */
	public AbstractLeaseorsalerecords() {
	}

	/** minimal constructor */
	public AbstractLeaseorsalerecords(Integer id,
			Estatebasicinfo estatebasicinfo, User userByBuyerId,
			User userByOwnerId, String type, Date startTime, String statue) {
		this.id = id;
		this.estatebasicinfo = estatebasicinfo;
		this.userByBuyerId = userByBuyerId;
		this.userByOwnerId = userByOwnerId;
		this.type = type;
		this.startTime = startTime;
		this.statue = statue;
	}

	/** full constructor */
	public AbstractLeaseorsalerecords(Integer id,
			Estatebasicinfo estatebasicinfo, User userByBuyerId,
			User userByOwnerId, String type, Date endTime, Date startTime,
			String statue) {
		this.id = id;
		this.estatebasicinfo = estatebasicinfo;
		this.userByBuyerId = userByBuyerId;
		this.userByOwnerId = userByOwnerId;
		this.type = type;
		this.endTime = endTime;
		this.startTime = startTime;
		this.statue = statue;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Estatebasicinfo getEstatebasicinfo() {
		return this.estatebasicinfo;
	}

	public void setEstatebasicinfo(Estatebasicinfo estatebasicinfo) {
		this.estatebasicinfo = estatebasicinfo;
	}

	public User getUserByBuyerId() {
		return this.userByBuyerId;
	}

	public void setUserByBuyerId(User userByBuyerId) {
		this.userByBuyerId = userByBuyerId;
	}

	public User getUserByOwnerId() {
		return this.userByOwnerId;
	}

	public void setUserByOwnerId(User userByOwnerId) {
		this.userByOwnerId = userByOwnerId;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getStatue() {
		return this.statue;
	}

	public void setStatue(String statue) {
		this.statue = statue;
	}

}